﻿using AutoMapper;
using B.S.BasicData.Domain.Entities;
using B.S.BasicData.Write.Api.Application.Command.ProductsCommand;
using B.S.BasicData.Write.Api.Application.Command.ShopCommand;

namespace B.S.BasicData.Write.Api
{
    public class AutoMapperProfaces:Profile
    {
        public AutoMapperProfaces()
        {
            CreateMap<ShopCreateCommand,Shop>().ReverseMap();
            CreateMap<ProductsCreateCommand, Products>().ReverseMap();
        }
    }
}
